<?php
$where_item = "";
if (isset($_GET['var2']))
    $where_item = " where titleurl = '" . $_GET['var2'] . "' ";

$re_item = $db->select("select * from about_item $where_item  order by orderId asc, id asc limit 1 ");
$tt_item = $db->fetch($re_item);
?>


<div class="left-col">
    <div class="title"><?php __("About us"); ?></div>
    <ul class="pl-list">
        <?php
        $re_list = $db->select("select * from about_item order by orderId asc ");
        while ($tt_list = $db->fetch($re_list)) {
            if ($act == "intro" && $tt_list['id'] == $tt_item['id'])
                $subClass = "active";
            else
                $subClass = "";
            ?>
            <li class="<?= $subClass ?>">
                <a href="<?= APPLICATION_URL ?>intro/<?= $tt_list['titleurl'] ?>.html"><?= $tt_list['title' . $hg] ?></a>
                <div class="clear"></div>
            </li>		
            <?php
        }
        ?>		
    </ul>
    
</div>
<div class="right-col">
    <div class="title"><?= $tt_item['title' . $hg] ?></div>
    <div class="intro content-text">
        <div class="text">
            <?= $tt_item['content' . $hg] ?>
        </div>
    </div>
</div>